﻿using Abp.Application.Services;
using MyCompanyName.AbpZeroTemplate.Prm.Admin.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace MyCompanyName.AbpZeroTemplate.Prm.Admin
{
    public interface IMailDefinedAppService : IApplicationService
    {
        List<KeyValuePair<string, int>> GetMailCategory();

        GetMailDefinedOutPut GetMail([FromUri] MailCatelog category);


        Task UpdateMailDefined(UpdateMailDefinedInPut input);

        Task SetMailReceiver(List<KeyValuePair<int, string>> updates);

    }
}
